Refund 相关的 Event 类型

该类型的 Event 对象会在 refund 对象退款成功后触发,以 Webhooks 形式发送至客户配置的 Webhooks URL。详情请参考 Events 事件

事件类型描述
refund.succeeded退款对象,在 Charge、Order、Recharge 对象退款成功时触发。

示例对象

{
    "id": "evt_gJKelawq06CiPojS5gt3noQA",
    "created": 1427555348,
    "livemode": true,
    "type": "refund.succeeded",
    "data": {
        "object": {
			  "id": "re_y1u944PmfnrTHyvnL0nD0iD1",
			  "object": "refund",
			  "order_no": "y1u944PmfnrTHyvnL0nD0iD1",
			  "amount": 1,
			  "created": 1409634160,
			  "succeed": true,
			  "status": "succeeded",
			  "time_succeed": 1409634192,
			  "description": "Refund Description",
			  "failure_code": null,
			  "failure_msg": null,
			  "metadata": {},
			  "charge": "ch_L8qn10mLmr1GS8e5OODmHaL4",
			  "charge_order_no": "123456789",
			  "transaction_no": "2004450349201512090096425284",
			  "funding_source": null,
			  "extra": {}
			}
    },
    "object": "event",
    "pending_webhooks": 0,
    "request": "iar_Ca1Oe10OqTSOPOmzX9Hi1a5"
}